<nav class="navbar navbar-default navbar-fixed-top my-nav">
		<div class="container">
			<!--nav bar-->
				<div class="navbar-header">
					<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
						<!--icon style:3 hidden-->
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
					</button>
					<a class="cssce1a639461a3ba navbar-brand" href="#">禾水<small>-陈伟的个人网站</small></a>
			    </div>
			    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
			    	<ul class="nav navbar-nav">
			    		<li><a class="cus-a-style" href="/">首页</a></li>
			    		<li><a class="cus-a-style" href="/blog">BLOG</a></li>
			    		<li><a class="cus-a-style" href="#">PHOTOS</a></li>
			    		<li><a class="cus-a-style" href="#">MUSIC</a></li>
			    	</ul>
			    	<form class="navbar-form navbar-left">
			    		<div class="form-group input-group">
			    			<input type="text" class="form-control" placeholder="Search articles..">  
					        <span class="input-group-btn">
					        	<button type="button" class="btn btn-default"><span class="glyphicon glyphicon-search"></span></button>
					        </span>
			    		</div>
			    	</form>
			    	<div class="login-bar navbar-nav navbar-right">
			    		<% if(user) { %>
			    			<button type="button" class="btn btn-default navbar-btn col-xs-6 cus-login-style"><a href="/post">发表</a></button>
			    			<button type="button" class="btn btn-default navbar-btn col-xs-6"><a href="/logout">登出</a></button>
			    		<% }else { %>
							<button type="button" class="btn btn-default navbar-btn col-xs-6 cus-login-style"><a href="/login">登录</a></button>
			    			<button type="button" class="btn btn-default navbar-btn col-xs-6"><a href="/login">注册</a></button>
			    		<% } %>
			    	</div>
			    </div>
		</div>
	</nav>